package com.example.tests;


import org.testng.annotations.Test;

public class AlsoGroupCreationTests extends TestBase {
 

  @Test
  public void testNonEmptyGroupCreation() throws Exception {
    openMainPage();
    goToGroupsPage();
    initGroupCreation();
    GroupData group = new GroupData();
    group.groupName="group name 1";
    group.footer="footer 1";
    group.header="header 1";
	fillGroupForm(group);
    submit();
    returnToGroupPage();
  }
  
  @Test
  public void testEmptyGroupCreation() throws Exception {
    openMainPage();
    goToGroupsPage();
    initGroupCreation();
    fillGroupForm(new GroupData("", "", ""));
    submit();
    returnToGroupPage();
  }


}
